<h3><a href="index.php?action=view&amp;page=Documentation">Install</a> | <a href="index.php?action=view&amp;page=Usage">Usage</a></h3>
<h3>Install guide</h3>
<h4>General instructions: </h4>
<ul>
	<li>Step 1: download the source code and unzip it.</li>
	<li>Step 2: customize the configuration.</li>
	<li>Step 3: upload to your server and modify required permission.</li>
	<li>Step 4: test, use, modify and enjoy it.</li>
</ul>

<h4>Customize the configuration: </h4>
<ul>
	<li>Generate your password hash: (important)
		<ul>
			<li>make your own choice of username and pass phase and put them in config.h (username, passphase).</li>
			<li>make an php script with following content: &lt;?php echo sha1([your pass phase] . [your password]); ?&gt;.</li>
			<li>run that script with a PHP interpreter on your local machine or (upload to your local server and run it, not recommended for your remote server).</li>
			<li>copy the output and put it in config.h (password).</li>
			<li>remember your username and password for further usage.</li>
			<li><i>Default username and password in config.h is admin/admin.</i></li>
		</ul>
	</li>
	<li>Change session key string: (recommended)
		<ul>
			<li>chose something like a title to avoid collision with other SnSCMS page.</li>
		</ul>
	</li>
	<li>Modify config.h with following notices: (optional)
		<ul>
			<li>page_title: title of your page, will be shown on navigator title in default theme.</li>
			<li>data_dir: data folder, if you change this, make sure to rename pages/ folder as well.</li>
			<li>home: page in data_dir to be used as index of you website.</li>
			<li>theme_dir: themes folder, as same as data_dir</li>
			<li>theme: your selected theme inside theme_dir.</li>
			<li>backup_file: default file name when you do the backup of data_dir.</li>
		</ul>
	</li>
</ul>

<h4>Required permission: </h4>
<ul>
	<li>folder specified by data_dir in config.h must be writable the web server process.</li>
	<li>config.h must be secured, so readable only by your self and the web server process.</li>
</ul>